package com.quanyan.ic.video.model.hik8710;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhuo.shi on 2017/8/16.
 */
public class Hik8710EventAlarm implements Serializable {

    private String uuid;            //告警唯一id
    private Integer placeId;        //场馆id
    private Integer placeUnitId;    //场地id
    private String placeUnitName;   //场地名称

    private String eventId;         //此次事件id
    private Integer eventType;      //此次事件类型
    private String res_index;       //摄像头id

    private String startTime;         //告警开始时间
    private String endTime;           //告警结束时间
    private List<String> eventIds;    //多个事件产生一个告警，截图Url根据此事件id来查询


    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getPlaceUnitId() {
        return placeUnitId;
    }

    public void setPlaceUnitId(Integer placeUnitId) {
        this.placeUnitId = placeUnitId;
    }

    public String getPlaceUnitName() {
        return placeUnitName;
    }

    public void setPlaceUnitName(String placeUnitName) {
        this.placeUnitName = placeUnitName;
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public Integer getEventType() {
        return eventType;
    }

    public void setEventType(Integer eventType) {
        this.eventType = eventType;
    }

    public String getRes_index() {
        return res_index;
    }

    public void setRes_index(String res_index) {
        this.res_index = res_index;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<String> getEventIds() {
        if (eventIds == null){
            eventIds = new ArrayList<>();
        }
        return eventIds;
    }

    public void setEventIds(List<String> eventIds) {
        this.eventIds = eventIds;
    }
}
